<template>
	<view class="content">
		<lxc_nav :text="this.$t('all.y3')"></lxc_nav>
		<view id="box">
			<u-field v-model="oldpassword" :label="$t('all.z3')" :placeholder="$t('all.a4')">
			</u-field>
			<u-field v-model="newpassword" :label="$t('all.b4')" :placeholder="$t('all.c4')">
			</u-field>
			<u-field v-model="ConfirmPassword" :label="$t('all.d4')" :placeholder="$t('all.e4')">
			</u-field>
			<view id="bottom" >
				{{$t('all.r3')}}
			</view>
		</view>
	</view>
</template>

<script>
	import lxc_nav from '../../components/nav.vue'
	export default {
		components: {
			lxc_nav
		},
		data() {
			return {
				oldpassword: '',
				newpassword: '',
				ConfirmPassword: '',
			}
		},
		onLoad() {

		},
		methods: {
			xcode() {
				let _this=this
				console.log(123456);
				let time=60
				var x = setInterval(()=>{
					time--
					_this.text=`${time}从新获取`
					if(time<5){
						clearInterval(x);
						_this.text=`发送验证码`
					}
				},1000)
			},

		}
	}
</script>

<style lang="scss" scoped>
	#box {
		position: relative;
		top: 100rpx;
		width: 92vw;
		margin-left: 4vw;
		// color: $u-content-color;
	}

	#but {
		width: 160rpx;
		height: 60rpx;
		background: #1989FA;
		border-radius: 10rpx;
		line-height: 60rpx;
		text-align: center;
		color: #FFFFFF;
	}

	#bottom {
		margin-top: 76rpx;
		width: 92vw;
		background-color: $lxc_title;
		height: 80rpx;
		text-align: center;
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
		line-height: 80rpx;

		border-radius: 10rpx;
	}
</style>
